﻿@model Hotel.Web.Models.Assignment
@{
    ViewBag.Title = Hotel.Web.Views.Assignment.AssignmentResources.SuccessMessage;
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>@Hotel.Web.Views.Assignment.AssignmentResources.SuccessMessage</h2>
@if (Model.ID == -1)
{
    <div class="display-field" style = "color: Blue ">@Hotel.Web.Views.Assignment.AssignmentResources.ModelIDError</div>
    }
<fieldset>
    <legend>@Hotel.Web.Views.Assignment.AssignmentResources.Assignment</legend>
    
    <div class="display-label">@Hotel.Web.Views.Assignment.AssignmentResources.ID</div>
    <div class="display-field" style = "color: Blue ">@Model.ID</div>

    <div class="display-label">@Hotel.Web.Views.Assignment.AssignmentResources.RoomNumber
    </div>
    <div class="display-field">@Model.RoomNumber</div>
    <div class="display-label">
        @Hotel.Web.Views.Assignment.AssignmentResources.ServiceName</div>
    <div class="display-field">@Model.CurrentService.Name</div>
    <div class="display-label">
        @Hotel.Web.Views.Assignment.AssignmentResources.Description</div>
    <div class="display-field">@Model.Description</div>
    <div class="display-label">
        @Hotel.Web.Views.Assignment.AssignmentResources.WorkerType</div>
    <div class="display-field">@Model.WorkerType</div>
</fieldset>
<p>
    @Html.ActionLink(Hotel.Web.Views.Assignment.AssignmentResources.BackToList, "Index")
</p>
